Don't put hashes in libraries of the root crate
authorAlex Crichton <alex@alexcrichton.com>
Wed, 29 Apr 2015 17:12:23 +0000 (10:12 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 29 Apr 2015 18:03:21 +0000 (11:03 -0700)
commit27efa7ba03a2054bf8b62f8d5c568918b7d35b0d
tree858de9f2d5efe570a09df992ad448259131596d7
parente3a642559d25e4f3df494894bd03400924ee33ea
Don't put hashes in libraries of the root crate

The root crate often has artifacts which are later intended for distribution of
some form, so adding a hash will just make predicting the file name difficult.
The hash also isn't necessary as it's guaranteed to not conflict with other
files (no other dependencies are in the same directory) and all other libraries
have metadata so symbols will not conflict.

Closes #1484
src/cargo/ops/cargo_clean.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_build_lib.rs
tests/test_cargo_compile.rs
tests/test_cargo_compile_custom_build.rs
tests/test_cargo_profiles.rs